<?php

namespace App\Observers;

use App\Models\Meet;


class MeetObserver
{
    public function created(Meet $meet)
    {
        \DB::table('members')->where('id', $meet->member_id)->increment('share_count',1);
//        $meet->member->increment('share_count', 1);
    }
}
